package com.hlkj.pay.app.merchant.ext.dto.payment;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.app.merchant.ext.dto.order.ChannelPayCommonContext;
import com.hlkj.pay.dto.merchant.MerchantAccessDto;
import com.hlkj.pay.enums.CommonEnum;
import com.hlkj.pay.infrastructure.model.pay.PayChannelRequestDO;
import com.hlkj.pay.infrastructure.model.payment.MerchantPaymentDO;
import com.hlkj.pay.infrastructure.model.payment.MerchantPaymentDetailDO;

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/09/26 10:21
 */
@Data
public class ChannelPaymentContext extends ChannelPayCommonContext {


    /**
     * 通道请求记录
     */
    private PayChannelRequestDO payChannelRequestDO;

    /**
     * 代付数据
     */
    private MerchantPaymentDO merchantPaymentDO;

    /**
     * 代付数据
     */
    private MerchantPaymentDetailDO merchantPaymentDetailDO;
    /**
     * 代付数据
     */
    private MerchantPaymentDetailDO updateMerchantPaymentDetailDO;

    private String notifyUrl;

    private MerchantAccessDto merchantAccessDto;

    private String rechargeUrl;

    /**
     * 凭证文件流
     */
    private String voucherFileStream;
    private byte[]  voucherFileByte;
    private CommonEnum.OssEnum fileType = CommonEnum.OssEnum.PDF;

    /**
     * 凭证文件流
     */
    private String voucherFileUrl;
    /**
     * 凭证文件流
     */
    private String fileId;

}
